home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / dev / gcc / gcc260diffs.lha / gnu / src-patches / make-3.71.diffs < prev    next >
Encoding:
Text File  |  1994-07-30  |  16.8 KB  |  725 lines

  1. diff -2rcN make-3.71/Makefile.in make-3.71-amiga/Makefile.in
  2. *** make-3.71/Makefile.in    Sat May 21 20:48:45 1994
  3. --- make-3.71-amiga/Makefile.in    Thu Jul 28 23:14:54 1994
  4. ***************
  5. *** 78,82 ****
  6.   
  7.   # Common prefix for machine-independent installed files.
  8. ! prefix = /usr/local
  9.   # Common prefix for machine-dependent installed files.
  10.   exec_prefix = $(prefix)
  11. --- 78,82 ----
  12.   
  13.   # Common prefix for machine-independent installed files.
  14. ! prefix = /gnu
  15.   # Common prefix for machine-dependent installed files.
  16.   exec_prefix = $(prefix)
  17. diff -2rcN make-3.71/arscan.c make-3.71-amiga/arscan.c
  18. *** make-3.71/arscan.c    Wed Feb 16 21:32:47 1994
  19. --- make-3.71-amiga/arscan.c    Thu Jul 28 23:14:55 1994
  20. ***************
  21. *** 23,26 ****
  22. --- 23,29 ----
  23.   #include <sys/file.h>
  24.   #endif
  25. + #ifdef amigados
  26. + #include <stdlib.h>
  27. + #endif
  28.   
  29.   #ifndef    NO_ARCHIVES
  30. diff -2rcN make-3.71/configure make-3.71-amiga/configure
  31. *** make-3.71/configure    Sat May 21 20:37:43 1994
  32. --- make-3.71-amiga/configure    Thu Jul 28 23:29:06 1994
  33. ***************
  34. *** 215,219 ****
  35.         *) ac_optarg=yes ;;
  36.       esac
  37. !     eval "with_${ac_package}='$ac_optarg'" ;;
  38.   
  39.     -without-* | --without-*)
  40. --- 215,219 ----
  41.         *) ac_optarg=yes ;;
  42.       esac
  43. !     "with_${ac_package}='$ac_optarg'" ;;
  44.   
  45.     -without-* | --without-*)
  46. ***************
  47. *** 299,303 ****
  48.     # Try the directory containing this script, then `..'.
  49.     ac_prog=$0
  50. !   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  51.     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  52.     srcdir=$ac_confdir
  53. --- 299,303 ----
  54.     # Try the directory containing this script, then `..'.
  55.     ac_prog=$0
  56. !   ac_confdir=`echo $ac_prog| sed 's|/$||' | sed 's|//|/|' | sed 's|/[^/]*$||'`
  57.     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  58.     srcdir=$ac_confdir
  59. ***************
  60. *** 316,324 ****
  61.   # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  62.   ac_cpp='${CPP}'
  63. ! ac_compile='${CC-cc} $CFLAGS $LDFLAGS conftest.${ac_ext} -o conftest $LIBS >/dev/null 2>&1'
  64.   
  65.           
  66.   
  67.   # We want these before the checks, so the checks can modify their values.
  68.   test -z "$CFLAGS" && CFLAGS=-g 
  69.   test -z "$LDFLAGS" && LDFLAGS=-g 
  70. --- 316,326 ----
  71.   # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  72.   ac_cpp='${CPP}'
  73. ! ac_compile="${CC-gcc} $CFLAGS $LDFLAGS conftest.${ac_ext} -o conftest $LIBS"
  74.   
  75.           
  76.   
  77.   # We want these before the checks, so the checks can modify their values.
  78. + CFLAGS="-O2"    #HACK (fnf)
  79. + LDFLAGS=""    #HACK (fnf)
  80.   test -z "$CFLAGS" && CFLAGS=-g 
  81.   test -z "$LDFLAGS" && LDFLAGS=-g 
  82. ***************
  83. *** 357,361 ****
  84.   #endif
  85.   EOF
  86. ! ${CC-cc} -E conftest.c > conftest.out 2>&1
  87.   if egrep yes conftest.out >/dev/null 2>&1; then
  88.     GCC=1 # For later tests.
  89. --- 359,363 ----
  90.   #endif
  91.   EOF
  92. ! ${CC-gcc} -E conftest.c > conftest.out 2>&1
  93.   if egrep yes conftest.out >/dev/null 2>&1; then
  94.     GCC=1 # For later tests.
  95. ***************
  96. *** 379,382 ****
  97. --- 381,385 ----
  98.   # Avoid using ./install, which might have been erroneously created
  99.   # by make from ./install.sh.
  100. + INSTALL=/bin/ginstall    #HACK (fnf)
  101.   if test -z "${INSTALL}"; then
  102.     test -n "$silent" || echo "checking for a BSD compatible install"
  103. ***************
  104. *** 445,453 ****
  105.   
  106.   test -n "$silent" || echo "checking how to run the C preprocessor"
  107.   if test -z "$CPP"; then
  108.     # This must be in double quotes, not single quotes, because CPP may get
  109. !   # substituted into the Makefile and ``${CC-cc}'' will simply confuse
  110.     # make.  It must be expanded now.
  111. !   CPP="${CC-cc} -E"
  112.     cat > conftest.${ac_ext} <<EOF
  113.   #include "confdefs.h"
  114. --- 448,457 ----
  115.   
  116.   test -n "$silent" || echo "checking how to run the C preprocessor"
  117. + CPP="/gnu/lib/gcc-lib/mc68000-cbm-amigados/2.6.0/cpp"    #HACK
  118.   if test -z "$CPP"; then
  119.     # This must be in double quotes, not single quotes, because CPP may get
  120. !   # substituted into the Makefile and ``${CC-gcc}'' will simply confuse
  121.     # make.  It must be expanded now.
  122. !   CPP="${CC-gcc} -E"
  123.     cat > conftest.${ac_ext} <<EOF
  124.   #include "confdefs.h"
  125. ***************
  126. *** 601,605 ****
  127.   ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  128.   if test -z "$ac_err"; then
  129. !   rm -rf conftest*
  130.     # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  131.   echo '#include "confdefs.h"
  132. --- 605,609 ----
  133.   ac_err=`eval "($ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"`
  134.   if test -z "$ac_err"; then
  135. !   rm -rf  conftest*
  136.     # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  137.   echo '#include "confdefs.h"
  138. ***************
  139. *** 620,624 ****
  140.   
  141.   EOF
  142. ! eval $ac_compile
  143.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  144.     # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  145. --- 624,628 ----
  146.   
  147.   EOF
  148. ! $ac_compile
  149.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  150.     # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  151. ***************
  152. *** 666,670 ****
  153.   int t() { DIR *dirp = 0;; return 0; }
  154.   EOF
  155. ! if eval $ac_compile; then
  156.     rm -rf conftest*
  157.     
  158. --- 670,674 ----
  159.   int t() { DIR *dirp = 0;; return 0; }
  160.   EOF
  161. ! if $ac_compile; then
  162.     rm -rf conftest*
  163.     
  164. ***************
  165. *** 693,697 ****
  166.   int t() { DIR *dirp = 0;; return 0; }
  167.   EOF
  168. ! if eval $ac_compile; then
  169.     rm -rf conftest*
  170.     
  171. --- 697,701 ----
  172.   int t() { DIR *dirp = 0;; return 0; }
  173.   EOF
  174. ! if $ac_compile; then
  175.     rm -rf conftest*
  176.     
  177. ***************
  178. *** 720,724 ****
  179.   int t() { DIR *dirp = 0;; return 0; }
  180.   EOF
  181. ! if eval $ac_compile; then
  182.     rm -rf conftest*
  183.     
  184. --- 724,728 ----
  185.   int t() { DIR *dirp = 0;; return 0; }
  186.   EOF
  187. ! if $ac_compile; then
  188.     rm -rf conftest*
  189.     
  190. ***************
  191. *** 747,751 ****
  192.   int t() { DIR *dirp = 0;; return 0; }
  193.   EOF
  194. ! if eval $ac_compile; then
  195.     rm -rf conftest*
  196.     
  197. --- 751,755 ----
  198.   int t() { DIR *dirp = 0;; return 0; }
  199.   EOF
  200. ! if $ac_compile; then
  201.     rm -rf conftest*
  202.     
  203. ***************
  204. *** 773,777 ****
  205.   int closedir(); main() { exit(closedir(opendir(".")) != 0); }
  206.   EOF
  207. ! eval $ac_compile
  208.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  209.     :
  210. --- 777,781 ----
  211.   int closedir(); main() { exit(closedir(opendir(".")) != 0); }
  212.   EOF
  213. ! $ac_compile
  214.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  215.     :
  216. ***************
  217. *** 850,854 ****
  218.   $ac_prog
  219.   EOF
  220. ! eval $ac_compile
  221.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  222.     
  223. --- 854,858 ----
  224.   $ac_prog
  225.   EOF
  226. ! $ac_compile
  227.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  228.     
  229. ***************
  230. *** 916,920 ****
  231.   int t() { int i;; return 0; }
  232.   EOF
  233. ! if eval $ac_compile; then
  234.     rm -rf conftest*
  235.     
  236. --- 920,924 ----
  237.   int t() { int i;; return 0; }
  238.   EOF
  239. ! if $ac_compile; then
  240.     rm -rf conftest*
  241.     
  242. ***************
  243. *** 985,990 ****
  244.   # We do the test twice because some compilers refuse to overwrite an
  245.   # existing .o file with -o, though they will create one.
  246. ! if ${CC-cc} -c conftest.c -o conftest.o >/dev/null 2>&1 \
  247. !  && test -f conftest.o && ${CC-cc} -c conftest.c -o conftest.o >/dev/null 2>&1
  248.   then
  249.     # Test first that cc exists at all.
  250. --- 989,994 ----
  251.   # We do the test twice because some compilers refuse to overwrite an
  252.   # existing .o file with -o, though they will create one.
  253. ! if ${CC-gcc} -c conftest.c -o conftest.o >/dev/null 2>&1 \
  254. !  && test -f conftest.o && ${CC-gcc} -c conftest.c -o conftest.o >/dev/null 2>&1
  255.   then
  256.     # Test first that cc exists at all.
  257. ***************
  258. *** 1071,1075 ****
  259.   int t() { $ac_prog; return 0; }
  260.   EOF
  261. ! if eval $ac_compile; then
  262.     :
  263.   else
  264. --- 1075,1079 ----
  265.   int t() { $ac_prog; return 0; }
  266.   EOF
  267. ! if $ac_compile; then
  268.     :
  269.   else
  270. ***************
  271. *** 1160,1164 ****
  272.   ; return 0; }
  273.   EOF
  274. ! if eval $ac_compile; then
  275.     rm -rf conftest*
  276.     {
  277. --- 1164,1168 ----
  278.   ; return 0; }
  279.   EOF
  280. ! if $ac_compile; then
  281.     rm -rf conftest*
  282.     {
  283. ***************
  284. *** 1187,1191 ****
  285.   int t() { char *p = alloca(2 * sizeof(int));; return 0; }
  286.   EOF
  287. ! if eval $ac_compile; then
  288.     rm -rf conftest*
  289.     
  290. --- 1191,1195 ----
  291.   int t() { char *p = alloca(2 * sizeof(int));; return 0; }
  292.   EOF
  293. ! if $ac_compile; then
  294.     rm -rf conftest*
  295.     
  296. ***************
  297. *** 1226,1230 ****
  298.   int t() { char *p = (char *) alloca(1);; return 0; }
  299.   EOF
  300. ! if eval $ac_compile; then
  301.     rm -rf conftest*
  302.     
  303. --- 1230,1234 ----
  304.   int t() { char *p = (char *) alloca(1);; return 0; }
  305.   EOF
  306. ! if $ac_compile; then
  307.     rm -rf conftest*
  308.     
  309. ***************
  310. *** 1274,1278 ****
  311.   ; return 0; }
  312.   EOF
  313. ! if eval $ac_compile; then
  314.     rm -rf conftest*
  315.     {
  316. --- 1278,1282 ----
  317.   ; return 0; }
  318.   EOF
  319. ! if $ac_compile; then
  320.     rm -rf conftest*
  321.     {
  322. ***************
  323. *** 1307,1311 ****
  324.   ; return 0; }
  325.   EOF
  326. ! if eval $ac_compile; then
  327.     rm -rf conftest*
  328.     {
  329. --- 1311,1315 ----
  330.   ; return 0; }
  331.   EOF
  332. ! if $ac_compile; then
  333.     rm -rf conftest*
  334.     {
  335. ***************
  336. *** 1340,1344 ****
  337.   ; return 0; }
  338.   EOF
  339. ! if eval $ac_compile; then
  340.     rm -rf conftest*
  341.     {
  342. --- 1344,1348 ----
  343.   ; return 0; }
  344.   EOF
  345. ! if $ac_compile; then
  346.     rm -rf conftest*
  347.     {
  348. ***************
  349. *** 1397,1401 ****
  350.   main(){exit(0);}
  351.   EOF
  352. ! eval $ac_compile
  353.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  354.     :
  355. --- 1401,1405 ----
  356.   main(){exit(0);}
  357.   EOF
  358. ! $ac_compile
  359.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  360.     :
  361. ***************
  362. *** 1439,1443 ****
  363.   }
  364.   EOF
  365. ! eval $ac_compile
  366.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  367.     
  368. --- 1443,1447 ----
  369.   }
  370.   EOF
  371. ! $ac_compile
  372.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  373.     
  374. ***************
  375. *** 1584,1588 ****
  376.   }
  377.   EOF
  378. ! eval $ac_compile
  379.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  380.     :
  381. --- 1588,1592 ----
  382.   }
  383.   EOF
  384. ! $ac_compile
  385.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  386.     :
  387. ***************
  388. *** 1617,1621 ****
  389.   }
  390.   EOF
  391. ! eval $ac_compile
  392.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  393.     
  394. --- 1621,1625 ----
  395.   }
  396.   EOF
  397. ! $ac_compile
  398.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  399.     
  400. ***************
  401. *** 1651,1655 ****
  402.   int t() { main();; return 0; }
  403.   EOF
  404. ! if eval $ac_compile; then
  405.     rm -rf conftest*
  406.     ac_have_lib="1"
  407. --- 1655,1659 ----
  408.   int t() { main();; return 0; }
  409.   EOF
  410. ! if $ac_compile; then
  411.     rm -rf conftest*
  412.     ac_have_lib="1"
  413. ***************
  414. *** 1675,1679 ****
  415.   int t() { main();; return 0; }
  416.   EOF
  417. ! if eval $ac_compile; then
  418.     rm -rf conftest*
  419.     ac_have_lib="1"
  420. --- 1679,1683 ----
  421.   int t() { main();; return 0; }
  422.   EOF
  423. ! if $ac_compile; then
  424.     rm -rf conftest*
  425.     ac_have_lib="1"
  426. ***************
  427. *** 1704,1708 ****
  428.   int t() { main();; return 0; }
  429.   EOF
  430. ! if eval $ac_compile; then
  431.     rm -rf conftest*
  432.     ac_have_lib="1"
  433. --- 1708,1712 ----
  434.   int t() { main();; return 0; }
  435.   EOF
  436. ! if $ac_compile; then
  437.     rm -rf conftest*
  438.     ac_have_lib="1"
  439. ***************
  440. *** 1739,1743 ****
  441.   ; return 0; }
  442.   EOF
  443. ! if eval $ac_compile; then
  444.     :
  445.   else
  446. --- 1743,1747 ----
  447.   ; return 0; }
  448.   EOF
  449. ! if $ac_compile; then
  450.     :
  451.   else
  452. ***************
  453. *** 1787,1791 ****
  454.   int t() { main();; return 0; }
  455.   EOF
  456. ! if eval $ac_compile; then
  457.     rm -rf conftest*
  458.     ac_have_lib="1"
  459. --- 1791,1795 ----
  460.   int t() { main();; return 0; }
  461.   EOF
  462. ! if $ac_compile; then
  463.     rm -rf conftest*
  464.     ac_have_lib="1"
  465. ***************
  466. *** 1828,1832 ****
  467.   int t() { main();; return 0; }
  468.   EOF
  469. ! if eval $ac_compile; then
  470.     rm -rf conftest*
  471.     ac_have_lib="1"
  472. --- 1832,1836 ----
  473.   int t() { main();; return 0; }
  474.   EOF
  475. ! if $ac_compile; then
  476.     rm -rf conftest*
  477.     ac_have_lib="1"
  478. ***************
  479. *** 1858,1862 ****
  480.   int t() { main();; return 0; }
  481.   EOF
  482. ! if eval $ac_compile; then
  483.     rm -rf conftest*
  484.     ac_have_lib="1"
  485. --- 1862,1866 ----
  486.   int t() { main();; return 0; }
  487.   EOF
  488. ! if $ac_compile; then
  489.     rm -rf conftest*
  490.     ac_have_lib="1"
  491. ***************
  492. *** 2006,2010 ****
  493.   int t() { struct nlist n; n.n_un.n_name = 0;; return 0; }
  494.   EOF
  495. ! if eval $ac_compile; then
  496.     rm -rf conftest*
  497.     
  498. --- 2010,2014 ----
  499.   int t() { struct nlist n; n.n_un.n_name = 0;; return 0; }
  500.   EOF
  501. ! if $ac_compile; then
  502.     rm -rf conftest*
  503.     
  504. ***************
  505. *** 2095,2099 ****
  506.   }
  507.   EOF
  508. ! eval $ac_compile
  509.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  510.     
  511. --- 2099,2103 ----
  512.   }
  513.   EOF
  514. ! $ac_compile
  515.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  516.     
  517. ***************
  518. *** 2162,2166 ****
  519.   ; return 0; }
  520.   EOF
  521. ! if eval $ac_compile; then
  522.     rm -rf conftest*
  523.     {
  524. --- 2166,2170 ----
  525.   ; return 0; }
  526.   EOF
  527. ! if $ac_compile; then
  528.     rm -rf conftest*
  529.     {
  530. ***************
  531. *** 2199,2203 ****
  532.   ; return 0; }
  533.   EOF
  534. ! if eval $ac_compile; then
  535.     rm -rf conftest*
  536.     
  537. --- 2203,2207 ----
  538.   ; return 0; }
  539.   EOF
  540. ! if $ac_compile; then
  541.     rm -rf conftest*
  542.     
  543. ***************
  544. *** 2229,2233 ****
  545.   int t() { char *msg = *(sys_siglist + 1);; return 0; }
  546.   EOF
  547. ! if eval $ac_compile; then
  548.     rm -rf conftest*
  549.     
  550. --- 2233,2237 ----
  551.   int t() { char *msg = *(sys_siglist + 1);; return 0; }
  552.   EOF
  553. ! if $ac_compile; then
  554.     rm -rf conftest*
  555.     
  556. ***************
  557. *** 2260,2264 ****
  558.   int t() { main();; return 0; }
  559.   EOF
  560. ! if eval $ac_compile; then
  561.     rm -rf conftest*
  562.     ac_have_lib="1"
  563. --- 2264,2268 ----
  564.   int t() { main();; return 0; }
  565.   EOF
  566. ! if $ac_compile; then
  567.     rm -rf conftest*
  568.     ac_have_lib="1"
  569. ***************
  570. *** 2308,2312 ****
  571.   int t() { main();; return 0; }
  572.   EOF
  573. ! if eval $ac_compile; then
  574.     rm -rf conftest*
  575.     ac_have_lib="1"
  576. --- 2312,2316 ----
  577.   int t() { main();; return 0; }
  578.   EOF
  579. ! if $ac_compile; then
  580.     rm -rf conftest*
  581.     ac_have_lib="1"
  582. ***************
  583. *** 2458,2462 ****
  584.   KMEM_GROUP='$KMEM_GROUP'
  585.   REMOTE='$REMOTE'
  586. ! LIBS='$LIBS'
  587.   srcdir='$srcdir'
  588.   top_srcdir='$top_srcdir'
  589. --- 2462,2466 ----
  590.   KMEM_GROUP='$KMEM_GROUP'
  591.   REMOTE='$REMOTE'
  592. ! LIBS=''            #HACK (fnf)
  593.   srcdir='$srcdir'
  594.   top_srcdir='$top_srcdir'
  595. diff -2rcN make-3.71/dir.c make-3.71-amiga/dir.c
  596. *** make-3.71/dir.c    Wed Jun  2 20:56:37 1993
  597. --- make-3.71-amiga/dir.c    Thu Jul 28 23:15:10 1994
  598. ***************
  599. *** 493,497 ****
  600. --- 493,501 ----
  601.   /* Hooks for globbing.  */
  602.   
  603. + #ifndef amigados
  604.   #include <glob.h>
  605. + #else
  606. + #include "glob.h"
  607. + #endif
  608.   
  609.   /* Structure describing state of iterating through a directory hash table.  */
  610. diff -2rcN make-3.71/function.c make-3.71-amiga/function.c
  611. *** make-3.71/function.c    Fri Mar  4 05:36:26 1994
  612. --- make-3.71-amiga/function.c    Thu Jul 28 23:15:11 1994
  613. ***************
  614. *** 22,25 ****
  615. --- 22,28 ----
  616.   #include "commands.h"
  617.   #include "job.h"
  618. + #ifdef amigados
  619. + #include <stdlib.h>
  620. + #endif
  621.   
  622.   static char *string_glob ();
  623. diff -2rcN make-3.71/getloadavg.c make-3.71-amiga/getloadavg.c
  624. *** make-3.71/getloadavg.c    Tue May 10 02:10:29 1994
  625. --- make-3.71-amiga/getloadavg.c    Thu Jul 28 23:15:12 1994
  626. ***************
  627. *** 473,476 ****
  628. --- 473,480 ----
  629.     int elem = 0;            /* Return value.  */
  630.   
  631. + #ifdef __amigados
  632. + #define NO_GET_LOAD_AVG
  633. + #endif
  634.   #ifdef NO_GET_LOAD_AVG
  635.   #define LDAV_DONE
  636. diff -2rcN make-3.71/getopt.c make-3.71-amiga/getopt.c
  637. *** make-3.71/getopt.c    Tue May 10 02:11:02 1994
  638. --- make-3.71-amiga/getopt.c    Thu Jul 28 23:15:15 1994
  639. ***************
  640. *** 47,50 ****
  641. --- 47,53 ----
  642.   
  643.   #include <stdio.h>
  644. + #ifdef amigados
  645. + #include <string.h>
  646. + #endif
  647.   
  648.   /* Comment out all this code if we are using the GNU C Library, and are not
  649. diff -2rcN make-3.71/glob/fnmatch.h make-3.71-amiga/glob/fnmatch.h
  650. *** make-3.71/glob/fnmatch.h    Tue Dec 14 20:02:10 1993
  651. --- make-3.71-amiga/glob/fnmatch.h    Thu Jul 28 23:15:16 1994
  652. ***************
  653. *** 43,47 ****
  654. --- 43,49 ----
  655.   
  656.   /* Bits set in the FLAGS argument to `fnmatch'.  */
  657. + #ifndef FNM_PATHNAME
  658.   #define    FNM_PATHNAME    (1 << 0) /* No wildcard can ever match `/'.  */
  659. + #endif
  660.   #define    FNM_NOESCAPE    (1 << 1) /* Backslashes don't quote special chars.  */
  661.   #define    FNM_PERIOD    (1 << 2) /* Leading `.' is matched only explicitly.  */
  662. diff -2rcN make-3.71/main.c make-3.71-amiga/main.c
  663. *** make-3.71/main.c    Thu Apr 21 02:08:24 1994
  664. --- make-3.71-amiga/main.c    Thu Jul 28 23:15:17 1994
  665. ***************
  666. *** 24,27 ****
  667. --- 24,30 ----
  668.   #include "job.h"
  669.   #include "getopt.h"
  670. + #ifdef amigados
  671. + #include <stdlib.h>
  672. + #endif
  673.   
  674.   
  675. diff -2rcN make-3.71/read.c make-3.71-amiga/read.c
  676. *** make-3.71/read.c    Mon May  2 22:35:24 1994
  677. --- make-3.71-amiga/read.c    Thu Jul 28 23:15:19 1994
  678. ***************
  679. *** 82,89 ****
  680. --- 82,95 ----
  681.   static char *default_include_directories[] =
  682.     {
  683. + #ifndef amigados
  684.       INCLUDEDIR,
  685.       "/usr/gnu/include",
  686.       "/usr/local/include",
  687.       "/usr/include",
  688. + #else
  689. +     "/gnu/include",
  690. +     "/gnu/g++-include",
  691. +     "/gnu/os-include",
  692. + #endif
  693.       0
  694.     };
  695. diff -2rcN make-3.71/remake.c make-3.71-amiga/remake.c
  696. *** make-3.71/remake.c    Fri Apr 22 21:53:53 1994
  697. --- make-3.71-amiga/remake.c    Thu Jul 28 23:15:20 1994
  698. ***************
  699. *** 990,995 ****
  700. --- 990,1000 ----
  701.     static char *dirs[] =
  702.       {
  703. + #ifndef amigados
  704.         "/lib",
  705.         "/usr/lib",
  706. + #else
  707. +      "/gnu/lib",
  708. +      "/gnu/lib/libb",
  709. + #endif
  710.         LIBDIR,            /* Defined by configuration.  */
  711.         0
  712. ***************
  713. *** 1000,1004 ****
  714. --- 1005,1013 ----
  715.   
  716.     /* Buffer to construct possible names in.  */
  717. + #ifndef amigados
  718.     char *buf = xmalloc (sizeof (LIBDIR) + 8 + strlen (libname) + 4 + 2 + 1);
  719. + #else
  720. +   char *buf = xmalloc (8 + strlen (libname) + 9 + 2 + 1);
  721. + #endif
  722.     char *file, **dp;
  723.   
  724.